package com.smartcat.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.smartcat.dao.FunctionConfigMapper;
import com.smartcat.model.FunctionConfig;
import com.smartcat.service.DeveloperService;

@Service
public class DeveloperServiceImpl implements DeveloperService{

	private FunctionConfigMapper functionConfigMapper;
	
	@Autowired
	public void setFunctionConfigMapper(FunctionConfigMapper functionConfigMapper) {
		this.functionConfigMapper = functionConfigMapper;
	}


	@Override
	public void addFunctionConfig(FunctionConfig functionConfig) {
		
		functionConfigMapper.insert(functionConfig);
	}

}
